View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001290 | K18X001.00 SKB SWAN | SW | public | 2021-07-08 13:38 | 2021-12-24 16:23 |
| Reporter | (ALTech) Wooshin Kang | Assigned To | (ALTech) Sangmin Choi | Due Date | 2021-07-09 14:36 |
| Priority | normal | Severity | s2-severe | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Summary | 0001290: Please apply synaptics patch for multiview channel zapping. | ||||
| Description | Patch for "hang-up in multiview channel zapping " is released Please apply it. It will be commited 524 and 531. Thanks. | ||||
| Tags | No tags attached. | ||||
| Attach Tags | |||||
|
|
multiview_zapping_stop.patch (2,600 bytes)
diff --git a/amp/src/libs/shm/src/amp_shm.c b/amp/src/libs/shm/src/amp_shm.c
index 8d916ef..bfbdf5f 100755
--- a/amp/src/libs/shm/src/amp_shm.c
+++ b/amp/src/libs/shm/src/amp_shm.c
@@ -54,6 +54,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
+#include <unistd.h>
#ifndef BUILDIN_AMP_CORE
#include "amp_client.h"
@@ -198,18 +199,35 @@ HRESULT AMP_SHM_Allocate_ext(AMP_SHM_TYPE eMemType, UINT32 uiSize, UINT32 uiAlig
}
AMP_RPC(ret, AMP_LIB_SHM_Allocate, g_shm_ctx.hLib, eMemType, uiSize, uiAlign, phShm);
+
+
if(ret != SUCCESS) {
- SHM_ERROR_LOG("Fail to allocate memory errcode(0x%x).\n", HRESULT_VALUE(ret));
- goto error;
+ SHM_ERROR_LOG("#XYZ#1-Fail to allocate memory errcode(0x%x).\n", HRESULT_VALUE(ret));
+ sleep(5);
+ AMP_RPC(ret, AMP_LIB_SHM_Allocate, g_shm_ctx.hLib, eMemType, uiSize, uiAlign, phShm);
+ if(ret != SUCCESS) {
+ SHM_ERROR_LOG("#XYZ#2-Fail to allocate memory errcode(0x%x).\n", HRESULT_VALUE(ret));
+ sleep(10);
+ AMP_RPC(ret, AMP_LIB_SHM_Allocate, g_shm_ctx.hLib, eMemType, uiSize, uiAlign, phShm);
+ {
+ SHM_ERROR_LOG("#XYZ#3-Fail to allocate memory errcode(0x%x).\n", HRESULT_VALUE(ret));
+ goto error;
+ }
+ }
}
+
ret = MV_OSAL_SHM_Ref(*phShm, NULL);
}
error:
#endif
+
+
+
if (ret != SUCCESS) {
- SHM_ERROR_LOG("Fail to allocate errcode(0x%x).\n", HRESULT_VALUE(ret));
+ SHM_ERROR_LOG("#XYZ#Fail to allocate errcode(0x%x).\n", HRESULT_VALUE(ret));
}
+
SHM_API_EXIT(ret);
return ret;
diff --git a/osal/ion/ion.c b/osal/ion/ion.c
index b87c4ef..a3863a6 100755
--- a/osal/ion/ion.c
+++ b/osal/ion/ion.c
@@ -166,11 +166,25 @@ int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask,
}
ret = ioctl(fd, ION_IOC_ALLOC, &data);
if (ret < 0) {
- ion_printf("ion_alloc failed with code %d errno[%d][%s]\n",
+
+ #if 1 //kail test
+ ion_printf("#XYZ#_1-ion_alloc failed retry after 5sec\n");
+ sleep(5);
+ ret = ioctl(fd, ION_IOC_ALLOC, &data);
+ if (ret < 0) {
+ ion_printf("#XYZ#_2-ion_alloc failed retry after 10sec\n");
+ sleep(10);
+ ret = ioctl(fd, ION_IOC_ALLOC, &data);
+ }
+
+ if (ret < 0){
+ #endif
+ ion_printf("#XYZ#_3 ion_alloc failed with code %d errno[%d][%s]\n",
ret, errno, strerror(errno));
- ion_dump_backtrace("ION");
+ ion_dump_backtrace("ION");
return ret;
}
+ }
*handle = data.handle;
return ret;
}
|
|
|
Reminder sent to: |
|
|
Already committed 524 and 531. |
|
|
Hi Wooshin, I reopen this issue, because this patch make the side effect on CTS/CTS-ON-GSI Please check the following link, https://synaextjira.atlassian.net/browse/SKBSBALT-162 |
|
|
Hi jason, Any update..? |
|
|
Hi Wooshin, Could you check it with Synaptics Tony directly? We check this issue with Synaptics China FAE Jiamin every meeting, He always replies to me that Tony is working on it. |
|
|
Hi Jason, I will contact him. Thanks. |
|
|
Hi all, Synaptics has released new patch on the following link, I have already applied it on Bitbucket. You can check it with Daily build https://synaextjira.atlassian.net/browse/SKBSBALT-162 |
|
|
Hi jason, I want to share that this issue is happen yet. |
|
|
Fix, so I close it. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-07-08 13:38 | (ALTech) Wooshin Kang | New Issue | |
| 2021-07-08 13:38 | (ALTech) Wooshin Kang | Status | new => assigned |
| 2021-07-08 13:38 | (ALTech) Wooshin Kang | Assigned To | => (SW) Jacky Chiang |
| 2021-07-08 13:38 | (ALTech) Wooshin Kang | File Added: multiview_zapping_stop.patch | |
| 2021-07-09 17:27 | (SW) Jacky Chiang | Assigned To | (SW) Jacky Chiang => (SW) Jason Ling |
| 2021-07-09 17:28 | (SW) Jacky Chiang | Note Added: 0007640 | |
| 2021-07-13 15:38 |
|
Status | assigned => resolved |
| 2021-07-13 15:38 |
|
Resolution | open => fixed |
| 2021-07-13 15:38 |
|
Description Updated | |
| 2021-07-13 15:38 |
|
Note Added: 0007668 | |
| 2021-08-09 19:35 |
|
Status | resolved => new |
| 2021-08-09 19:35 |
|
Resolution | fixed => reopened |
| 2021-08-09 19:35 |
|
Note Added: 0007835 | |
| 2021-08-18 15:17 | (ALTech) Wooshin Kang | Note Added: 0007895 | |
| 2021-08-18 16:08 |
|
Note Added: 0007916 | |
| 2021-08-18 16:27 | (ALTech) Wooshin Kang | Assigned To | (SW) Jason Ling => (ALTech) Sangmin Choi |
| 2021-08-18 16:44 | (ALTech) Wooshin Kang | Note Added: 0007917 | |
| 2021-09-07 17:51 |
|
Status | new => resolved |
| 2021-09-07 17:51 |
|
Resolution | reopened => fixed |
| 2021-09-07 17:51 |
|
Note Added: 0008099 | |
| 2021-09-28 10:27 | (ALTech) Wooshin Kang | Note Added: 0008315 | |
| 2021-12-24 16:23 |
|
Status | resolved => closed |
| 2021-12-24 16:23 |
|
Note Added: 0009112 |